package com.isdepci.project.gasEmission.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.math.BigDecimal;

/**
 * 现场燃料使用对象 tpf_fuel_use
 *
 * @author isdepci
 * @date 2023-09-01
 */
public class FuelUse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 类型(1现场燃烧/2现场车辆) */
    @Excel(name = "类型(1现场燃烧/2现场车辆)")
    private Integer siteType;

    /** 燃料和单位 */
    @Excel(name = "燃料和单位")
    private String fuelAndUnits;

    /** 年消耗量 */
    @Excel(name = "年消耗量")
    private BigDecimal quantityPerYear;

    /** 车辆所有权和控制权 */
    @Excel(name = "车辆所有权和控制权")
    private String vehicleOwnershipAndControl;

    /** 关联首页表 */
    @Excel(name = "关联首页表")
    private Long infoId;

//    /** 关联首页表 */
//    @Excel(name = "关联首页表")
//    private Long enterpriseId;
////    private List<Enterprise> infoList;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSiteType(Integer siteType)
    {
        this.siteType = siteType;
    }

    public Integer getSiteType()
    {
        return siteType;
    }
    public void setFuelAndUnits(String fuelAndUnits)
    {
        this.fuelAndUnits = fuelAndUnits;
    }

    public String getFuelAndUnits()
    {
        return fuelAndUnits;
    }
    public void setQuantityPerYear(BigDecimal quantityPerYear)
    {
        this.quantityPerYear = quantityPerYear;
    }

    public BigDecimal getQuantityPerYear()
    {
        return quantityPerYear;
    }
    public void setVehicleOwnershipAndControl(String vehicleOwnershipAndControl)
    {
        this.vehicleOwnershipAndControl = vehicleOwnershipAndControl;
    }

    public String getVehicleOwnershipAndControl()
    {
        return vehicleOwnershipAndControl;
    }
    public void setInfoId(Long infoId)
    {
        this.infoId = infoId;
    }

    public Long getInfoId()
    {
        return infoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("siteType", getSiteType())
            .append("fuelAndUnits", getFuelAndUnits())
            .append("quantityPerYear", getQuantityPerYear())
            .append("vehicleOwnershipAndControl", getVehicleOwnershipAndControl())
            .append("infoId", getInfoId())
            .toString();
    }
}
